package com.ruoyi.common.core.domain.business.waterPrice;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 年度水费计收方式定义对象 wi_feemode_y
 * 
 * @author ps
 * @date 2023-02-16
 */
@Data
public class WiFeemodeY extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 计收年度 */
    @Excel(name = "年份")
    private String modeYr;

    /** 计收模式 */
    @Excel(name = "计收模式" ,readConverterExp = "0=按地块面积,1=按地快水量")
    private String modeType;

    /** 收费方式 */
    @Excel(name = "收费方式" ,readConverterExp = "0=按农户,1=按机构")
    private String feeKind;

    /** 截止月份 */
    @Excel(name = "截止月份")
    private String endMon;

    /** 亩均水价 */
    @Excel(name = "亩均水价")
    private BigDecimal areaPrice;

    /** 方均水价 */
    @Excel(name = "方均水价")
    private BigDecimal volPrice;

    /** 超限加价 */
    @Excel(name = "超限加价")
    private BigDecimal overPrice;

    /** 备注 */
    @Excel(name = "备注")
    private String modeMark;

    private long id;

    /** 删除标记 */
//    @Excel(name = "删除标记")
    private String delFlag;

    public void setModeYr(String modeYr) 
    {
        this.modeYr = modeYr;
    }

    public String getModeYr() 
    {
        return modeYr;
    }
    public void setModeType(String modeType) 
    {
        this.modeType = modeType;
    }

    public String getModeType() 
    {
        return modeType;
    }
    public void setFeeKind(String feeKind) 
    {
        this.feeKind = feeKind;
    }

    public String getFeeKind() 
    {
        return feeKind;
    }
    public void setEndMon(String endMon) 
    {
        this.endMon = endMon;
    }

    public String getEndMon() 
    {
        return endMon;
    }
    public void setAreaPrice(BigDecimal areaPrice)
    {
        this.areaPrice = areaPrice;
    }

    public BigDecimal getAreaPrice()
    {
        return areaPrice;
    }
    public void setVolPrice(BigDecimal volPrice)
    {
        this.volPrice = volPrice;
    }

    public BigDecimal getVolPrice()
    {
        return volPrice;
    }
    public void setOverPrice(BigDecimal overPrice)
    {
        this.overPrice = overPrice;
    }

    public BigDecimal getOverPrice()
    {
        return overPrice;
    }
    public void setModeMark(String modeMark) 
    {
        this.modeMark = modeMark;
    }

    public String getModeMark() 
    {
        return modeMark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("modeYr", getModeYr())
            .append("modeType", getModeType())
            .append("feeKind", getFeeKind())
            .append("endMon", getEndMon())
            .append("areaPrice", getAreaPrice())
            .append("volPrice", getVolPrice())
            .append("overPrice", getOverPrice())
            .append("modeMark", getModeMark())
            .toString();
    }
}
